package com.umakr.ax.common.mapper;

import com.baomidou.mybatisplus.plugins.Page;
import com.umakr.ax.common.model.ShowDiscuss;
import com.umakr.ax.common.vo.ShowDiscussVO;
import com.umakr.ax.core.base.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * Mapper接口
 * </p>
 *
 * @author Umakr-Code-Generator
 * @since 2017-12-30
 */
public interface ShowDiscussMapper extends BaseMapper<ShowDiscuss> {
    Page<ShowDiscussVO> load(@Param("userId")Long userId,@Param("showId") Long showId);

    List<ShowDiscussVO> selectTopShowDiscussByShowId(@Param("showId") Long showId,@Param("userId") Long userId);

    Page<ShowDiscussVO> listShowDiscuss( @Param("showId")Long showId );
}